package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Company;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;


public interface ICompanyService {
	
	void save(Company entity);

	void update(Company entity);

	void delete(long id);

	Company get(long id);

	List<Company> list();

	PageResult query(QueryObject qo);

	void changeState(Long id);

    List<Company> selectByTeamWork();
    /** 
     * @Description: 查询所有合作的公司
     * @Param: []
     * @return: java.util.List<cn.wolfcode.crm.domain.Company>
     */
}
